package util;

import java.util.Calendar;
import java.util.Date;
import java.util.Locale;

public class Util {
	/**
	 * Devuelve la hora
	 */
	@SuppressWarnings("deprecation")
	public static String getHora(){
		Date date=Calendar.getInstance(Locale.getDefault()).getTime();
		return String.format("%02d:%02d:%02d", date.getHours(),date.getMinutes(),date.getSeconds());
	}
}
